﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace ZEFIT
{
    public class User : Data
    {
        // ================================================================
        // Variablen

        private String lastName;

        public String LastName { get { return lastName; } set { lastName = value; } }

        private String firstName;

        public String FirstName { get { return firstName; } set { firstName = value; } }

        private String email;

        public String Email { get { return email; } set { email = value; } }

        private String userName;

        public String UserName { get { return userName; } set { userName = value; } }

        private String password;

        public String Password { get { return password; } set { password = value; } }

        private bool isAdmin;

        public bool IsAdmin { get { return isAdmin; } set { isAdmin = value; } }

        private bool isActive;

        public bool IsActive { get { return isActive; } set { isActive = value; } }

        public override string ToString()
        {
            return userName;
        }
    }
}
